package com.itheima.thread.api.demo04;

public class ThreadDemo01 {

    public static void main(String[] args) {

        MyThread t1 = new MyThread();
        MyThread t2 = new MyThread();

        t1.setName("刘亦菲");
        t2.setName("公孙瓒");

        t1.start();
        t2.start();

    }

}
